import { Column, Entity, PrimaryColumn } from 'typeorm';

@Entity({ name: 'user_list' })
export class UserListEntity{
    @PrimaryColumn('varchar', { name: 'id', charset: 'utf8mb4', collation: 'utf8mb4_general_ci' })
    id: string;

    @Column({ name: 'name', charset: 'utf8mb4', collation: 'utf8mb4_general_ci' })
    name: string;

    @Column('int', { name: 'sex' })
    sex: number;

    @Column('int', { name: 'status' })
    status: number;

}
